/*
 * @Descripttion: 组件业务名
 * @version:
 * @Author: lhl
 * @Date: 2023-12-20 16:37:37
 * @LastEditors: lhl
 * @LastEditTime: 2024-01-12 10:42:00
 */
import { createApp } from 'vue'
import App from './App.vue'
// 引入路由模块
import router from './router'
import './style.css'
// 重置css
import 'normalize.css/normalize.css'
// 动画
import 'animate.css'
// polyfill
import '~polyfill/polyfill'
// svg组件
import 'virtual:svg-icons-register'

// 引入状态管理
// https://blog.csdn.net/m0_55337573/article/details/129934771
import store from '~/store/index'
import svgIcon from '~components/SvgIcon/index.vue'
// 引入UI库样式
// import 'ant-design-vue/dist/reset.css'

console.log(import.meta.env.VITE_ENV, '环境变量')

const app = createApp(App)

app.use(router)
app.use(store)
app.component('svg-icon', svgIcon)
app.mount('#app')
